package com.wn.equipment.mapper;

import com.wn.entity.EquipmentManagement;
import com.wn.entity.Feedback;
import com.wn.entity.Hr;
import com.wn.entity.PersonalDetails;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhairenhao
 * @date 2022/10/19 18:47
 */
@Repository
public interface PersonalDetailsMapper {
    /**
     * @Author ReenHamZ
     * @Description 通过UserID查询用户
     * @Param [int]
     * @return java.util.List<com.wn.entity.PersonalDetails>
     **/
    List<PersonalDetails> getByUserId(int id);

    /**
     * @Author ReenHamZ
     * @Description //TODO 
     * @Param [com.wn.entity.PersonalDetails]
     * @return void
     **/
    void updateTel(PersonalDetails personalDetails);

    /**
     * @Author ReenHamZ
     * @Description //TODO 
     * @Param [com.wn.entity.PersonalDetails]
     * @return void
     **/
    void updatePassword(PersonalDetails personalDetails);

    List<Hr> getByCondition(Hr hr);
}
